<template>

	<view class="container">
	<!-- 	<view class="imgBox"><image src="../../static/index/LG.jpg" class="logo" mode="aspectFit"></image></view> -->
		
		<view class="tarBox">
			<view class="item" @click="receive_click">
				<image src="../../static/index/receive.svg" class="img" mode="aspectFit"></image>
				<text>领用</text>
			</view>
			<view class="item" @click="search_click">
				<image src="../../static/index/search.svg" class="img" mode="aspectFit"></image>
				<text>物料查询</text>
			</view>
			<view class="item" @click="enter_click">
				<image src="../../static/index/enter.svg" class="img" mode="aspectFit"></image>
				<text>确认入库</text>
			</view>
			<view class="item" @click="move_click">
				<image src="../../static/index/move.svg" class="img" mode="aspectFit"></image>
				<text>移库</text>
			</view>
			<view class="item" @click="update_click">
				<image src="../../static/index/update.svg" class="img" mode="aspectFit"></image>
				<text>修改状态</text>
			</view>
			<view class="item" @click="panku_click">
				<image src="../../static/index/panku.svg" class="img" mode="aspectFit"></image>
				<text>库位盘库</text>
			</view>
			<view class="item" @click="shangxian">
				<image src="../../static/index/shangxian.svg" class="img" mode="aspectFit"></image>
				<text>设备上线</text>
			</view>
			<view class="item" @click="xiaxian">
				<image src="../../static/index/xiaxian.svg" class="img" mode="aspectFit"></image>
				<text>设备下线</text>
			</view>
			<view class="item" @click="shenpi">
				<image src="../../static/index/shenpi.svg" class="img" mode="aspectFit"></image>
				<text>审批</text>
			</view>
			<view class="item" @click="oldEnter">
				<image src="../../static/index/oldEnter.svg" class="img" mode="aspectFit"></image>
				<text>旧件入库</text>
			</view>
			<view class="item" @click="maintain">
				<image src="../../static/index/maintain.svg" class="img" mode="aspectFit"></image>
				<text>入待维修库</text>
			</view>
			<view class="item" @click="repair">
				<image src="../../static/index/repair.svg" class="img" mode="aspectFit"></image>
				<text>修复件入库</text>
			</view>
			<view class="item" @click="scrap">
				<image src="../../static/index/scrap.svg" class="img" mode="aspectFit"></image>
				<text>报废</text>
			</view>
			<view class="item" @click="profit">
				<image src="../../static/index/profit.svg" class="img" mode="aspectFit"></image>
				<text>盘盈入库</text>
			</view>
			<view class="item" @click="losses">
				<image src="../../static/index/losses.svg" class="img" mode="aspectFit"></image>
				<text>盘亏出库</text>
			</view>
		</view>
		<view class="kongbai">
			
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				// authCode:'',
				serr:'0000',
				cerr:'1111'
			}
		},
		onLoad() {
			
		},
		methods: {
			receive_click(){
				dd.navigateTo({
				    
				    url: '/pages/receive/receive'
				})
			},
			search_click(){
				dd.navigateTo({
				    
				    url: '/pages/search/search'
				})
			},
			enter_click(){
				dd.navigateTo({
				    
				    url: '/pages/enter/enter'
				})
			},
			move_click(){
				dd.navigateTo({
				    
				    url: '/pages/move/move'
				})
			},
			update_click(){
				dd.navigateTo({
				    
				    url: '/pages/update/update'
				})
			},
			panku_click(){
				dd.navigateTo({
				    
				    url: '/pages/panku/panku'
				})
			},
			shangxian(){
				dd.navigateTo({
				    
				    url: '/pages/shangxian/shangxian'
				})

			},
			xiaxian(){
				dd.navigateTo({ 
				    url: '/pages/xiaxian/xiaxian'
				})
			},
			oldEnter(){
				dd.navigateTo({
				    url: '/pages/oldEnter/oldEnter'
				})
			},
			maintain(){
				dd.navigateTo({
				    url: '/pages/maintain/maintain'
				})
			},
			repair(){
				dd.navigateTo({
				    url: '/pages/repair/repair'
				})
			},
			scrap(){
				dd.navigateTo({
				    url: '/pages/scrap/scrap'
				})
			},
			profit(){
				dd.navigateTo({
				    url: '/pages/profit/profit'
				})
			},
			losses(){
				dd.navigateTo({
				    url: '/pages/losses/losses'
				})
			},
			shenpi(){
				dd.navigateTo({
				    url: '/pages/shenpi/shenpi'
				})
			},
			
		}
	}
</script>

<style scoped>
	.container{
		/* padding-left: 15px; */
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		align-items: center;
	}
	.title{
		width: 100%;
		height: 50px;
		line-height: 50px;
		background-color: #F6F6F6;
		font-size: 16px;
		font-weight: 600;
		text-align: center;
	}
	.imgBox{
		width: 100%;
		height: 30%;
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
	}
	.logo{
		width: 30%;
	}
	.tarBox{
		width: 92%;
		font-size: 14px;
		background-color: white;
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center; 
		flex-wrap: wrap;
		border-radius: 5px;
	}
	.kongbai{
		width: 92%;
		height: 15px;
		background-color: white;
		border-radius: 5px;
	}
	.item{
		width: 30%;
		height: 60px;
		margin-top: 15px;
		background-color: white;
		display: flex;
		flex-direction: column;
		justify-content: space-around;
		align-items: center;
		border-radius: 10px ;
	}
	.img{
		width: 30px;
		height: 40px;
	}
	
</style>
